Repository navigation
fix(mcpx): resync dogfood plugin copy (.opencode/plugin) with pkgs/mcpx/plugin - #10716
Conversation
The main mcpx 'basic: test' job (e.g. run 43833553567, head 81d1020) fails its sync guard: .opencode/plugin had drifted from the canonical sources under pkgs/mcpx/plugin. Copy the canonical files: - pkgs/mcpx/plugin/opencode/mcpx/ -> .opencode/plugin/mcpx/ - pkgs/mcpx/plugin/core/ -> .opencode/plugin/core/ - pkgs/mcpx/plugin/opencode/mcpx-session.ts -> .opencode/plugin/mcpx-session.ts The drift was functional, not cosmetic: core/ was missing options.ts and timing.ts (inlining duplicate Options/truthy helpers), and ops.gen.ts was missing the apis_add/apis_remove and plugin_session_* operations. Verified in the worktree: all three sync diffs are empty, and `bun test plugin/opencode/mcpx/ plugin/core/` from pkgs/mcpx is green (68 pass, 5 skip). The gofmt half of the same failing run is already clean on current main, and the docs/environment.md half is owned by PR #10571.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
What
Repairs the
basic: testfailure on main'smcpx.ymlby resyncing the dogfood plugin copy with its canonical sources.All three guards now pass; previously each produced drift.
Why the drift mattered
.opencode/plugin/corewas missingoptions.tsandtiming.ts— those helpers had been inlined as duplicates, so the repo's own dogfood plugin was running stale code.ops.gen.tswas missing theapis_add/apis_removeandplugin_session_*operations generated from the current ops table.Verification
cd pkgs/mcpx && bun test plugin/opencode/mcpx/ plugin/core/: 68 pass, 5 skip, 0 fail.gofmt -l .inpkgs/mcpx: clean on current main (thebasic: lintfailure in run 43833553567 was at an older head and is already fixed).One
ops.test.tsabort test is timing-flaky in this environment (1 failure in 3 isolated reruns, pre-existing, unrelated to the copy).Scope
Only
.opencode/plugin/**files change; canonical sources are untouched. The staledocs/environment.mdhalf of the same failing run is owned by #10571.Refs #8900.